http://gtaxscripting.blogspot.com/2013/12/MinigunVStyle.html


Install the files from Models folder into models\cdimages\weapons.img

Install the files from Anims folder into anim\anim.img

Copy the files from Scripts folder to gta Scripts folder

Add to GTA folder\common\data\animgrp.dat the following line after WeaponGroup( Streaming, gun@uzi )

WeaponGroup( Streaming, gun@minigun )

result:

...
#-------------------------------------------------------------------
# Weapon groups
# o WeaponGroup( (Resident/Streaming),			groupname )
#-------------------------------------------------------------------
WeaponGroup( Streaming, gun@ak47 )
WeaponGroup( Streaming, gun@baretta )
WeaponGroup( Streaming, gun@deagle )
WeaponGroup( Streaming, gun@handgun )
WeaponGroup( Streaming, gun@mp5k )
WeaponGroup( Streaming, gun@rocket )
WeaponGroup( Streaming, gun@shotgun )
WeaponGroup( Streaming, gun@uzi )
WeaponGroup( Streaming, gun@minigun )

...


Add the following lines to GTA folder\common\data\weaponInfo.xml just before line </weaponinfo>

	<weapon type="EPISODIC_24">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="200.0" weaponrange="400.0" clipsize="9999" ammomax="9999" timebetweenshots="30">
			<damage base="25" networkplayermod="1.0" networkpedmod="1.0"/>
			<physics force="150.0"/>
			<reload time="3000" fasttime="3000" crouchtime="3000"/>

			<aiming accuracy="0.9">
				<offset x="0.19" y="0.31" z="-0.27"/>
			</aiming>

			<pickup regentime="0" ammoonstreet="9999"/>

			<controller>
				<rumble duration="60" intensity="0.3"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>2HANDED</flag>
			</flags>
		</data>

		<assets model="minigun_base">
			<anim group="gun@minigun"/>
		</assets>
	</weapon>